package com.analog.mserver.service.base;

import org.springframework.data.domain.PageRequest;

public class BaseService {

	public static PageRequest buildPageRequest(int pageNumber, int pagzSize){
        return PageRequest.of(pageNumber - 1, pagzSize);
    }
}
